<?php
	require $_SERVER['DOCUMENT_ROOT'] . '/deviantpic/inc/database.php';

	//Unset session
	unset($_SESSION['user']);
	header("Location:http://" . $_SERVER['HTTP_HOST'] . '/deviantpic/index.php');
?>